package com.sfcms.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value ="sfcms-provider",fallback = NewServiceFallback.class)
public interface NewsService {
    @GetMapping("/findAll")
    public String findAll();
}

